package com.watson.architect.spring.write.core;

public interface BeanPostProcessor {

    /**
     * 初始化之前的前置处理
     */
    default Object postProcessBeforeInitialization(Object bean, String beanName) {
        return bean;
    }

    /**
     * 初始化之后的后置处理
     */
    default Object postProcessAfterInitialization(Object bean, String beanName) {
        return bean;
    }
}
